#ifndef EDITTEXT_H_INCLUDED
#define EDITTEXT_H_INCLUDED

class EditText{
public :
    EditText(int x, int y, int longueur=300);
    void setEvent(sf::Event &event);
    void drawEditText(sf::RenderWindow &app);
    void setPlaceHolder(std::string placeHolderText);
    std::string getText();

private :
    int positionX;
    int positionY;
    int longueur;
    bool focus;
    bool placeHolder;
    std::string text;
    std::string placeHolderText;
};

#endif // EDITTEXT_H_INCLUDED
